package yf.mall.vo.down;


import lombok.Data;
import java.util.Date;
import com.alibaba.excel.annotation.*;
import java.io.Serializable;



import yf.mall.entity.MonthShareEntity;
import yf.mall.vo.MonthShareVo;

                    
/**
 * 月销实体
 * 表名 month_share
 *
 *
 *
 * @date Thu Oct 07 17:01:18 CST 2021
 */
@Data
public class MonthShareDown implements Serializable {
    @ExcelIgnore
    private static final long serialVersionUID = 1L;

                        //
            @ExcelProperty("")
            private Long id;
        
                        //用户ID
            @ExcelProperty("用户ID")
            private Long userId;
        
                        //数量
            @ExcelProperty("数量")
            private Integer quantity;
        
                        //相关订单
            @ExcelProperty("相关订单")
            private String orderNo;
        
                        //时间
            @ExcelProperty("时间")
            private Date time;
        
    
    public MonthShareDown() {

    }

    public MonthShareDown(MonthShareVo vo) {
        MonthShareEntity entity = vo.getEntity();
                                    this.setId(entity.getId());
            
                                    this.setUserId(entity.getUserId());
            
                                    this.setQuantity(entity.getQuantity());
            
                                    this.setOrderNo(entity.getOrderNo());
            
                                    this.setTime(entity.getTime());
            
            }


}
